package com.zl.smartmall.library.po;

import android.os.Parcel;
import android.os.Parcelable;
/**
 * 组团的信息
 * @author Administrator
 *
 */
public class GroupsInfo implements Parcelable{
	public int id;
	private int cmid;
	private String name;
	private int ustatus;
	private String createtime;
	private String storehouse;
	private int status;
	
	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public GroupsInfo(){
		
	}

	public GroupsInfo(Parcel source) {
		id = source.readInt();
		cmid = source.readInt();
		createtime = source.readString();
		name = source.readString();
		ustatus = source.readInt();
		storehouse = source.readString();
		status = source.readInt();
	}

	public int getCmid() {
		return cmid;
	}

	public void setCmid(int cmid) {
		this.cmid = cmid;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeInt(id);
		dest.writeInt(cmid);
		dest.writeString(createtime);
		dest.writeString(storehouse);
		dest.writeString(name);
		dest.writeInt(ustatus);
		dest.writeInt(status);
	}
	
	

	public int getId() {
		return id;
	}

	public int getUstatus() {
		return ustatus;
	}

	public String getCreatetime() {
		return createtime;
	}

	public String getStorehouse() {
		return storehouse;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setUstatus(int ustatus) {
		this.ustatus = ustatus;
	}

	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

	public void setStorehouse(String storehouse) {
		this.storehouse = storehouse;
	}



	public static final Parcelable.Creator<GroupsInfo> CREATOR = new Creator<GroupsInfo>() {
		
		@Override
		public GroupsInfo[] newArray(int size) {
			return new GroupsInfo[size];
		}
		
		@Override
		public GroupsInfo createFromParcel(Parcel source) {
			
			return new GroupsInfo(source);
		}
	};

}
